package com.test.javafaq_kafka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.kafka.annotation.EnableKafka;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableKafka //启动kafka
@EnableScheduling  //启动定时计划
public class JavafaqKafkaApplication {

    public static void main(String[] args) {
        SpringApplication.run(JavafaqKafkaApplication.class, args);
    }

}
